<td>
  <input type="checkbox" id="ck_field" />
</td>
<td>
  <input type="hidden" name="SRFI.id" value="#(fieldinfo.id ??)"/>
  <input jtype="i" jtag='#jx_msg({key:"query.fieldNum"})' name="SRFI.field_num" type="text" value="#(fieldinfo.field_num ?? 1)" size="1"  maxlength="2" />
</td>
<td>
  <input jtype="s" jtag='#jx_msg({key:"query.fieldView"})' name="SRFI.field_view" type="text" value="#(fieldinfo.field_view ??)"  size="10" />
</td>
<td>
  <input name="SRFI.field_type" type="hidden" value="#(fieldinfo.field_type ??)" size="10"  />
  #modeltag({tagcode:"jxbrms_systemdict",term:"dicttype_id='fieldType' And dict_code = ?",id:(fieldinfo.field_type ?? 123456)})
  <span id="fieldType">#(systemdict.DICT_NAME ??)</span>
</td>  
<td>
  <textarea name="SRFI.field_name" rows="3" >#(fieldinfo.field_name ??)</textarea>
  列头分组：<input name="SRFI.column_group" type="text" value="# (fieldinfo.column_group ?? 'C')"  size="3" /><br>
  数据列分组：<input name="SRFI.data_group" type="text" value="#(fieldinfo.data_group ?? 'D')"  size="3" />
</td>
<td>
  <input type="hidden" value="#(fieldinfo.fieldExt.where ??)" ext="where"  /><span ext2="where">#(fieldinfo.fieldExt.where ??)</span>&nbsp;
</td>
<td>
  <input type="hidden" value="#(fieldinfo.fieldExt.where2 ??)" ext="where2" /><span ext2="where2">#(fieldinfo.fieldExt.where2 ??)</span>&nbsp;
</td>
<td>
  表头样式:<span ext2="columnStyle">#(fieldinfo.fieldExt.columnStyle ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.columnStyle ??)" ext="columnStyle" /><br>
  表头扩展:<span ext2="columnExt">#(fieldinfo.fieldExt.columnExt ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.columnExt ??)" ext="columnExt" /><br>  
  表头th扩展:<span ext2="thExt">#(fieldinfo.fieldExt.thExt ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.thExt ??)" ext="thExt" /><br>  
  数据样式:<span ext2="dataStyle">#(fieldinfo.fieldExt.dataStyle ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.dataStyle ??)" ext="dataStyle" /><br>
  数据扩展:<span ext2="dataExt">#(fieldinfo.fieldExt.dataExt ??)</span><input type="hidden" value="#(fieldinfo.fieldExt.dataExt ??)" ext="dataExt" /><br>  
  数据td扩展<span ext2="tdExt">#(fieldinfo.fieldExt.tdExt ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.tdExt ??)" ext="tdExt" /><br>  
  数据导出td扩展<span ext2="expTdExt">#(fieldinfo.fieldExt.expTdExt ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.expTdExt ??)" ext="expTdExt" /><br>  
  显示列扩展:<span ext2="viewColumnExt">#(fieldinfo.fieldExt.viewColumnExt ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.viewColumnExt ??)" ext="viewColumnExt" /><br>  
  导出列扩展:<span ext2="expColumnExt">#(fieldinfo.fieldExt.expColumnExt ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.expColumnExt ??)" ext="expColumnExt" /><br>    
  <div id="div_f_d" #if((fieldinfo.field_type ??) != "d") style="display:none"#end>
    显示格式:<span ext2="viewFmt">#(fieldinfo.fieldExt.viewFmt ??)</span><input type="hidden" value="#(fieldinfo.fieldExt.viewFmt ??)" ext="viewFmt" /><br>
  </div>  
  <div id="div_f_date" #if((fieldinfo.field_type ??) != "ldate" && (fieldinfo.field_type ??) != "sdate") style="display:none"#end>
    显示格式:<span ext2="viewFmt">#(fieldinfo.fieldExt.viewFmt ?? 'yyyy-MM-dd HH:mm')</span><input type="hidden" value="#(fieldinfo.fieldExt.viewFmt ?? 'yyyy-MM-dd HH:mm')" ext="viewFmt" /><br>
    条件查询格式:<span ext2="termFmt">#(fieldinfo.fieldExt.termFmt ?? 'yyyy-MM-dd')</span><input type="hidden" value="#(fieldinfo.fieldExt.termFmt ?? 'yyyy-MM-dd')" ext="termFmt" /><br>
    真实格式:<span ext2="realFmt">#(fieldinfo.fieldExt.realFmt ?? 'yyyyMMddHHmmss')</span><input type="hidden" value="#(fieldinfo.fieldExt.realFmt ?? 'yyyyMMddHHmmss')" ext="realFmt" /><br>
    查询条件:<span ext2="term">#(fieldinfo.fieldExt.term ?? '>=;<=');</span><input type="hidden" value="#(fieldinfo.fieldExt.term ?? '>=;<=')" ext="term" /><br>
    默认值:<span ext2="plusValue">#(fieldinfo.fieldExt.plusValue ?? '')</span><input type="hidden" value="#(fieldinfo.fieldExt.plusValue ?? '')" ext="plusValue" /><br>
    默认类型:<span ext2="plusType">#(fieldinfo.fieldExt.plusType ?? 'day')</span><input type="hidden" value="#(fieldinfo.fieldExt.plusType ?? 'day')" ext="plusType" />
  </div>
  <div id="div_f_dictselect" #if((fieldinfo.field_type ??) != "dictselect") style="display:none"#end>
    字典类型:<span ext2="selectCode">#(fieldinfo.fieldExt.selectCode ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.selectCode ??)" ext="selectCode" /><br>
    真实值字段:<span ext2="realField">#(fieldinfo.fieldExt.realField ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.realField ??)" ext="realField" /><br>
    显示值字段:<span ext2="viewField">#(fieldinfo.fieldExt.viewField ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.viewField ??)" ext="viewField" />
    <input type="hidden" value="#(fieldinfo.fieldExt.selectType ?? 1)" ext="selectType" />
  </div>  
  <div id="div_f_sqlselect" #if((fieldinfo.field_type ??) != "sqlselect") style="display:none"#end>
    sql编号:<span ext2="selectCode">#(fieldinfo.fieldExt.selectCode ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.selectCode ??)" ext="selectCode" /><br>
    真实值字段:<span ext2="realField">#(fieldinfo.fieldExt.realField ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.realField ??)" ext="realField" /><br>
    显示值字段:<span ext2="viewField">#(fieldinfo.fieldExt.viewField ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.viewField ??)" ext="viewField" /><br>
    登录用户条件<span ext2="uidTerm">#(fieldinfo.fieldExt.uidTerm ??);</span><input type="hidden" value="#(fieldinfo.fieldExt.uidTerm ??)" ext="uidTerm" />
    <input type="hidden" value="#(fieldinfo.fieldExt.selectType ?? 1)" ext="selectType" />
  </div> 
  <div id="div_f_uddt" #if((fieldinfo.field_type ??) != "uddt") style="display:none"#end>
    <span ext2="uExtInfo">#(fieldinfo.fieldExt.getuExtInfo() ??)</span>
    <input type="hidden" value="#(fieldinfo.fieldExt.getuExtInfo() ??)" ext="uExtInfo" />
  </div>   
</td>
<td style="width:180px">
  <input type="hidden" name="SRFI.field_ext" id="fieldExt"/>
  <input ctag="fc1" type="checkbox" value="1" #jx_bito({a:(fieldinfo.field_flag ??),b:"1"}) #if(c == 1)checked#end />默认显示和导出<br>
  <input ctag="fc2" type="checkbox" value="2" #jx_bito({a:(fieldinfo.field_flag ??),b:"2"}) #if(c==2)checked#end/>显示<br>
  <input ctag="fc4" type="checkbox" value="4" #jx_bito({a:(fieldinfo.field_flag ??),b:"4"}) #if(c==4)checked#end/>查询条件<br>
  <input ctag="fc16" type="checkbox" value="16" #jx_bito({a:(fieldinfo.field_flag ??),b:"16"}) #if(c==16)checked#end/>快捷查询条件<br>
  <input ctag="fc8" type="checkbox" value="8" #jx_bito({a:(fieldinfo.field_flag ??),b:"8"}) #if(c==8)checked#end/>排序条件<br>
  <input ctag="fc32" type="checkbox" value="32" #jx_bito({a:(fieldinfo.field_flag ??),b:"32"}) #if(c==32)checked#end/>该字段只导出<br>
  <input ctag="fc64" type="checkbox" value="64" #jx_bito({a:(fieldinfo.field_flag ??),b:"64"}) #if(c==64)checked#end/>该字段隐藏显示<br>
  <input ctag="fc128" type="checkbox" value="128" #jx_bito({a:(fieldinfo.field_flag ??),b:"128"}) #if(c==128)checked#end/>该字段用于扩展表的后缀
  <input type="hidden" name="SRFI.field_flag" value="#(fieldinfo.field_flag ??)" id="fieldFlag"/>
</td>